package com.jml.蚂蚁.netty.对象序列化client;

import org.msgpack.annotation.Message;

/**
 * @Description:网络序列化
 */
@Message
public class MsgEntity   {

    private String msgContext;
    private String msgId;

    public MsgEntity() {

    }

    public MsgEntity(String msgId, String msgContext) {
        this.msgId = msgId;
        this.msgContext = msgContext;
    }

    public void setMsgContext(String msgContext) {
        this.msgContext = msgContext;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgContext() {
        return msgContext;
    }

    public String getMsgId() {
        return msgId;
    }

    @Override
    public String toString() {
        return msgId + "," + msgContext;
    }
}
